package com.test;

import java.io.File;
import java.io.IOException;

import net.coobird.thumbnailator.Thumbnails;
import net.coobird.thumbnailator.Thumbnails.Builder;

public class ImgCompress {
	public static void main(String[] args) throws IOException {
		String path = "C:/Users/domains90/Desktop/11.png";
		Builder<File> bud = Thumbnails.of(path).scale(1f).outputQuality(0.8f).outputFormat("jpg");
		
		//System.out.println(builder);
	}
}
